package com.screen.screendisplay.entity.ne;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 互联网+平台应用排名表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_ne_safetyenv_net_rank")
@ApiModel(value = "NeSafetyenvNetRank对象", description = "互联网+平台应用排名表")
public class NeSafetyenvNetRank implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年份")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月份")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "日期，格式为yyyy-MM")
    @TableField("date")
    private String date;

    @ApiModelProperty(value = "平台名称：0-保力图风电场，1-棋盘山一期，2-棋盘山二期，3-甘泉山风电场")
    @TableField("platform_name")
    private Byte platformName;

    @ApiModelProperty(value = "平台编码")
    @TableField("platform_code")
    private String platformCode;

    @ApiModelProperty(value = "隐患数量")
    @TableField("hidden_danger_count")
    private Integer hiddenDangerCount;

    @ApiModelProperty(value = "风险数量")
    @TableField("risk_count")
    private Integer riskCount;

    @ApiModelProperty(value = "整改结果(整改完成数量)")
    @TableField("rectification_result")
    private Integer rectificationResult;

    @ApiModelProperty(value = "隐患等级：0-低，1-中，2-高")
    @TableField("danger_level")
    private Byte dangerLevel;

    @ApiModelProperty(value = "综合评分")
    @TableField("composite_score")
    private BigDecimal compositeScore;

    @ApiModelProperty(value = "平台排名")
    @TableField("ranking")
    private Integer ranking;

    @ApiModelProperty(value = "统计周期：0-月度，1-季度，2-年度")
    @TableField("stat_cycle")
    private Byte statCycle;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updater")
    private String updater;
}
